Skip to content

Fetch hi-scores on logout to populate boss KCs - #1

Merged
CalciumG merged 1 commit into
masterfrom
plugin-hiscores-on-logout
May 18, 2026
Merged

Fetch hi-scores on logout to populate boss KCs#1
CalciumG merged 1 commit into
masterfrom
plugin-hiscores-on-logout

Conversation

@CalciumG

Copy link
Copy Markdown
Owner
  • New HiscoresFetcher GETs the right index_lite.ws endpoint for the
    player's account type (regular / ironman / HCIM / UIM) and returns the raw
    CSV body.
  • ProfileSyncService.syncOnLogout() runs attachHiscoresRaw() on the
    executor thread before sendSync() so the webhook payload includes the
    CSV as hiscoresRaw. Failures (404, timeout, blank) are silent.
  • No parsing in the plugin 0 the server consumes the raw CSV.

@CalciumG
CalciumG merged commit a75b7e5 into master May 18, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant